package com.yonglian.management.service;

import com.yonglian.management.domain.ActivityStandard;
import java.util.Optional;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Service Interface for managing {@link com.yonglian.management.domain.ActivityStandard}.
 */
public interface ActivityStandardService {
    /**
     * Save a activityStandard.
     *
     * @param activityStandard the entity to save.
     * @return the persisted entity.
     */
    ActivityStandard save(ActivityStandard activityStandard);

    /**
     * Updates a activityStandard.
     *
     * @param activityStandard the entity to update.
     * @return the persisted entity.
     */
    ActivityStandard update(ActivityStandard activityStandard);

    /**
     * Partially updates a activityStandard.
     *
     * @param activityStandard the entity to update partially.
     * @return the persisted entity.
     */
    Optional<ActivityStandard> partialUpdate(ActivityStandard activityStandard);

    /**
     * Get all the activityStandards.
     *
     * @param pageable the pagination information.
     * @return the list of entities.
     */
    Page<ActivityStandard> findAll(Pageable pageable);

    /**
     * Get the "id" activityStandard.
     *
     * @param id the id of the entity.
     * @return the entity.
     */
    Optional<ActivityStandard> findOne(Long id);

    /**
     * Delete the "id" activityStandard.
     *
     * @param id the id of the entity.
     */
    void delete(Long id);
}
